using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Metropolicity
{
    class WindPowerNode : PowerNode
    {
        public WindPowerNode(PlayScene parent)
            : base("windPowerNode", new Vector2(352, 240), parent)
        {
            energyRespawnTime = 4000;
        }
        public override EnergyCell createEnergy()
        {

            EnergyCell energyCell = new WindEnergyCell(new Vector2(collisionRectangle.Center.X, collisionRectangle.Center.Y));
            energyCell.LoadContent(parent.content); //remember to always call LoadContent when you create something new or it won't draw
            return energyCell;
        }
        public override void stormEnds()
        {
            energyRespawnTime = 4000;
        }
        public override void stormStarts()
        {
            energyRespawnTime = 1000;
        }
    }
}
